package com.zhijian.medical.entity.vo.request;

import com.zhijian.medical.entity.po.RoutineSampleTemplate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;

@EqualsAndHashCode(callSuper = true)
@Data
public class RoutineSampleTemplateSearchVo extends RoutineSampleTemplate {

    @ApiModelProperty("页码")
    @Min(value = 1, message = "页码不能小于1|pageNum can't less than 1")
    private Integer pageNum;

    /**
     * 条数
     */
    @ApiModelProperty("每页显示的条数")
    @Min(value = 1, message = "每页显示的条数不能小于1|pageSize can't less than 1")
    private Integer pageSize;
}
